/** 接口定义 */
export default {
	//登录
	userLogin: {
		url:'/api/user/login',
		method: 'post'
	},
	//修改我的密码
	modifyMineSecret: {
		url:'/api/user/mine/modify/secret',
		method: 'post'
	},
	//获取用户信息列表
	userList: {
		url:'/api/user/list',
		method: 'get'
	},
	//添加用户
	appendUser: {
		url:'/api/user/append',
		method: 'post'
	},
	//修改用户
	modifyUser: {
		url:'/api/user/modify',
		method: 'post'
	},
	//修改用户密码
	modifySecret: {
		url:'/api/user/modify/secret',
		method: 'post'
	},
    //获取环境列表
    projectEnvs: {
    	url: '/api/project/envs',
    	method: 'get'
    },
    //获取项目列表
    projects: {
    	url: '/api/project/list',
    	method: 'get'
    },
    //获取项目信息
    projectInfo: {
    	url: '/api/project/info',
    	method: 'get'
    },
    //添加项目
    projectAppend: {
    	url: '/api/project/append',
    	method: 'post'
    },
    //修改项目
    projectModify: {
    	url: '/api/project/modify',
    	method: 'post'
    },
    //设置项目的用户权限
    projectPermissionModify: {
    	url: '/api/project/permission/modify',
    	method: 'post'
    },
    //移除项目的用户权限
    projectPermissionRemove: {
    	url: '/api/project/permission/remove',
    	method: 'post'
    },
    //获取KeyValue配置列表
    keyValueItems: {
    	url: '/api/kv/items',
    	method: 'get'
    },
    //保存KeyValue配置信息
    keyValueSave: {
    	url: '/api/kv/save',
    	method: 'post'
    },
    //移除KeyValue配置信息
    keyValueRemove: {
    	url: '/api/kv/remove',
    	method: 'post'
    },
    //保存KeyValue配置YAML信息
    keyValueYamlSave: {
    	url: '/api/kv/yaml/save',
    	method: 'post'
    },
    //获取KeyValue配置YAML格式信息
    keyValueYaml: {
    	url: '/api/kv/yaml',
    	method: 'get'
    },
    //KeyValue配置YAML格式化
    keyValueYamlFormat: {
    	url: '/api/kv/yaml/format',
    	method: 'post'
    },
    //获取KeyValue配置历史记录
    keyValueRecords: {
    	url: '/api/kv/records',
    	method: 'get'
    },

}
